#!/usr/bin/env python3
# -*- coding: utf-8 -*-


class User:

    def __init__(self, user_id=None, name=None, age=None, sex=None, city=None, birth_day=None):
        self.__user_id = user_id
        self.__name = name
        self.__age = age
        self.__sex = sex
        self.__city = city
        self.__birth_day = birth_day

    @property
    def name(self):
        return self.__name

    @name.setter
    def name(self, value):
        self.__name = value

    @property
    def age(self):
        return self.__age

    @age.setter
    def age(self, value):
        self.__age = value

    @property
    def sex(self):
        return self.__sex

    @sex.setter
    def sex(self, value):
        self.__sex = value

    @property
    def city(self):
        return self.__city

    @city.setter
    def city(self, value):
        self.__city = value

    @property
    def birth_day(self):
        return self.__birth_day

    @birth_day.setter
    def birth_day(self, value):
        self.__birth_day = value

    @property
    def user_id(self):
        return self.__user_id

    @user_id.setter
    def user_id(self, value):
        self.__user_id = value

    def __str__(self):
        return self.__name


if __name__ == '__main__':
    u = User()
    u.name = 'lisi'
    print(u)
